From: Florian Müllner Date: Thu, 15 Oct 2015 19:41:29 +0000 (+0200) Subject: st: Drop vfuncs from StThemeNodeTransition X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1128 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2f88a7a1e15032bb91a2a732ee2eaad9e70fe3d2;p=gnome-shell.git st: Drop vfuncs from StThemeNodeTransition They are unused, as we don't use them ourselves and the class is not exposed to introspection. Drop them to allow defining the type as final in an upcoming commit. --- diff --git a/src/st/st-theme-node-transition.c b/src/st/st-theme-node-transition.c index 22a021ffa..e255f9622 100644 --- a/src/st/st-theme-node-transition.c +++ b/src/st/st-theme-node-transition.c @@ -461,15 +461,13 @@ st_theme_node_transition_class_init (StThemeNodeTransitionClass *klass) g_signal_new ("completed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (StThemeNodeTransitionClass, completed), - NULL, NULL, NULL, + 0, NULL, NULL, NULL, G_TYPE_NONE, 0); signals[NEW_FRAME] = g_signal_new ("new-frame", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (StThemeNodeTransitionClass, new_frame), - NULL, NULL, NULL, + 0, NULL, NULL, NULL, G_TYPE_NONE, 0); } diff --git a/src/st/st-theme-node-transition.h b/src/st/st-theme-node-transition.h index e78389e45..d7f96b7d2 100644 --- a/src/st/st-theme-node-transition.h +++ b/src/st/st-theme-node-transition.h @@ -47,9 +47,6 @@ struct _StThemeNodeTransition { struct _StThemeNodeTransitionClass { GObjectClass parent_class; - - void (*completed) (StThemeNodeTransition *transition); - void (*new_frame) (StThemeNodeTransition *transition); }; GType st_theme_node_transition_get_type (void) G_GNUC_CONST;